
package com.jf.cloud.distribution.vo;

import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

/**
 * 分销员绑定关系VO
 *
 * @author zz
 * @date 2021-08-09 14:14:09
 */
public class DistributionUserBindVO extends BaseVO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户关系表" )
    private Long bindId;

    @Schema(description = "分销员id" )
    private Long distributionUserId;

    @Schema(description = "用户id" )
    private Long userId;

    @Schema(description = "当前绑定关系(-1失效 0 预绑定 1生效)" )
    private Integer state;

    @Schema(description = "失效原因(0 超过有效期 1抢客 2 管理员更改 3.暂时封禁)" )
    private Integer invalidReason;

    @Schema(description = "绑定时间" )
    private Date bindTime;

    @Schema(description = "失效时间" )
    private Date invalidTime;

    @Schema(description = "分销员昵称" )
    private String nickName;

    @Schema(description = "客户昵称" )
    private String userNickName;

    @Schema(description = "客户号码" )
    private String cuserMobile;

    @Schema(description = "分销员号码" )
    private String userMobile;

    public String getCuserMobile() {
        return cuserMobile;
    }

    public void setCuserMobile(String cuserMobile) {
        this.cuserMobile = cuserMobile;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public Long getBindId() {
        return bindId;
    }

    public void setBindId(Long bindId) {
        this.bindId = bindId;
    }

    public Long getDistributionUserId() {
        return distributionUserId;
    }

    public void setDistributionUserId(Long distributionUserId) {
        this.distributionUserId = distributionUserId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getInvalidReason() {
        return invalidReason;
    }

    public void setInvalidReason(Integer invalidReason) {
        this.invalidReason = invalidReason;
    }

    public Date getBindTime() {
        return bindTime;
    }

    public void setBindTime(Date bindTime) {
        this.bindTime = bindTime;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    @Override
    public String toString() {
        return "DistributionUserBindVO{" +
                "bindId=" + bindId +
                ", distributionUserId=" + distributionUserId +
                ", userId=" + userId +
                ", state=" + state +
                ", invalidReason=" + invalidReason +
                ", bindTime=" + bindTime +
                ", invalidTime=" + invalidTime +
                ", nickName='" + nickName + '\'' +
                ", userNickName='" + userNickName + '\'' +
                '}';
    }
}
